import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
import axios from "axios";
import VueRouter from "vue-router";
import router from "./router";
import store from "./store";
import'./assets/global.css';
import 'vant/lib/index.css';

// Vant 组件
import { Lazyload } from "vant";
import { Sticky } from 'vant';
import { SwipeCell } from 'vant';
import { Card } from 'vant';
import { Button } from "vant";
import { Stepper } from 'vant';
import { Tag } from 'vant';
import { Checkbox, CheckboxGroup } from 'vant';
import { SubmitBar } from 'vant';

Vue.prototype.$axios =axios;
Vue.prototype.$httpUrl='http://localhost:9098/'
Vue.config.productionTip =false
Vue.use(VueRouter);
Vue.use(ElementUI,{size:'small'});

// Vant 组件
Vue.use(Lazyload)
Vue.use(Sticky)
Vue.use(SwipeCell);
Vue.use(Card)
Vue.use(Button)
Vue.use(Stepper);
Vue.use(Tag);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(SubmitBar);

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app');